package com.android.webttest.model;

import lombok.Data;

@Data
public class GoodComments {
    private Integer id;
    private Integer goodId;
    private String commentsText;
    private Integer userId;
    private Integer likeNum;
    private Integer dislikeNum;
    private Integer parentCommentId;
    private String createTime;
    private String updateTime;

    public GoodComments(GoodComments goodComments) {
        this.id = goodComments.getId();
        this.goodId = goodComments.getGoodId();
        this.commentsText = goodComments.getCommentsText();
        this.userId = goodComments.getUserId();
        this.likeNum = goodComments.getLikeNum();
        this.dislikeNum = goodComments.getDislikeNum();
        this.parentCommentId = goodComments.getParentCommentId();
        this.createTime = goodComments.getCreateTime();
        this.updateTime = goodComments.getUpdateTime();
    }
}
